export default {
  /**
   * 获取两个对象的所有key
   * */
  getTwoObjectKey (_a, _b) {
    const a = JSON.parse(JSON.stringify(_a))
    const b = JSON.parse(JSON.stringify(_b))
    const c = {...a, ...b}
    const keyArray = []
    for (let key in c) {
      if (c.hasOwnProperty(key)) {
        keyArray.push(key)
      }
    }
    return keyArray
  }
}
